import fetch from '@/utils/fetch'

export function getLecturersMessage () {
  return fetch({
    url: '/api/getLecturerPerformanceByEmpId',
    method: 'get'
  })
}
export function fetchList (query) {
  return fetch({
    url: '/api/courseWare/getCourseWareForMobile',
    method: 'get',
    params: query
  })
}
export function addLecturerPromote () {
  return fetch({
    url: '/api/postLecturerPromote',
    method: 'post'
  })
}
export function postTrialLecture (query) {
  return fetch({
    url: '/api/postTrialLecture',
    method: 'post',
    params: query
  })
}
export function getTrialLectureInProcess () {
  return fetch({
    url: '/api/getTrialLectureInProcess',
    method: 'post'
  })
}
export function fetchLecturerMonthlyList () {
  return fetch({
    url: '/api/getLecturerMonthlyList',
    method: 'get'
  })
}
export function fetchAppointmentLecturer () {
  return fetch({
    url: '/api/getAppointmentLecturer',
    method: 'get'
  })
}
export function fetchLecturerAdviceList (query) {
  return fetch({
    url: '/api/lecturerAdvice/getLecturerAdviceList',
    method: 'get',
    params: query
  })
}
export function getLecturerInfo (query) {
  return fetch({
    url: '/api/getLecturerInfo',
    method: 'get',
    params: query
  })
}

